%module OgreHardwareBuffer

%{
#include "OGRE/OgreHardwareBuffer.h"
	%}

 //#include "OgrePrerequisites.h"

namespace Ogre {

	%nodefaultctor HardwareBuffer; 
	class HardwareBuffer// : public BufferAlloc
	 {

	    public:

		    enum Usage 
		    {
			    HBU_STATIC = 1,
			    HBU_DYNAMIC = 2,
			    HBU_WRITE_ONLY = 4,
			    HBU_DISCARDABLE = 8,
			    HBU_STATIC_WRITE_ONLY = 5, 
			    HBU_DYNAMIC_WRITE_ONLY = 6,
			    HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE = 14
		    };

		    enum LockOptions
		    {
			    HBL_NORMAL,
			    HBL_DISCARD,
			    HBL_READ_ONLY,
			    HBL_NO_OVERWRITE
		    };
    };

}
